AddSubMenu
Mac OSThe
AddSubMenu
method adds a submenu to this menu bar.
void AddSubMenu (in ODMenuID menuID, in ODPlatformMenu menu, in ODPart part);
menuID
- A platform-specific identifier of the new submenu. On the Mac OS platform, the menu ID is defined as a signed 16-bit value.
menu
- A 32-bit value identifying the platform-specific menu for the specified menu ID. On the Mac OS platform, this parameter is a menu handle (type
MenuHandle
).part
- A reference to a part that owns the submenu, or
kODNULL
if the submenu is a document shell submenu.EXCEPTIONS
kODErrOutOfMemory
- There is not enough memory to allocate the submenu.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help